package com.lay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 退保申请表
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Surrender implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 退保编号，主键，唯一
     */
    @TableId(value = "s_id", type = IdType.AUTO)
    private Integer sId;

    /**
     * 订单编号
     */
    private Integer icId;

    /**
     * 用户编号，外键
     */
    private Integer uId;

    /**
     * 退保缘由
     */
    private String sMsg;

    /**
     * 退保状态（0待审核，1审核通过，2审核不通过）
     */
    private Integer rState;

    /**
     * 添加人员
     */
    private Integer unAddid;

    /**
     * 添加日期
     */
    private LocalDateTime sAddtime;

    /**
     * 审核人编号
     */
    private Integer unShenid;


    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Integer getIcId() {
        return icId;
    }

    public void setIcId(Integer icId) {
        this.icId = icId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getsMsg() {
        return sMsg;
    }

    public void setsMsg(String sMsg) {
        this.sMsg = sMsg;
    }

    public Integer getrState() {
        return rState;
    }

    public void setrState(Integer rState) {
        this.rState = rState;
    }

    public Integer getUnAddid() {
        return unAddid;
    }

    public void setUnAddid(Integer unAddid) {
        this.unAddid = unAddid;
    }

    public LocalDateTime getsAddtime() {
        return sAddtime;
    }

    public void setsAddtime(LocalDateTime sAddtime) {
        this.sAddtime = sAddtime;
    }

    public Integer getUnShenid() {
        return unShenid;
    }

    public void setUnShenid(Integer unShenid) {
        this.unShenid = unShenid;
    }

    @Override
    public String toString() {
        return "Surrender{" +
        "sId=" + sId +
        ", icId=" + icId +
        ", uId=" + uId +
        ", sMsg=" + sMsg +
        ", rState=" + rState +
        ", unAddid=" + unAddid +
        ", sAddtime=" + sAddtime +
        ", unShenid=" + unShenid +
        "}";
    }
}
